// 导入request
import request from '@/utils/request'

// 登录接口
export const loginUser = (data) => {
  return request({
    method: 'POST',
    url: '/auth/login',
    data
  })
}

// 获取用户信息
export const getUser = () => {
  return request({
    url: '/auth/currentUser'
  })
}
